package world.criver.h50529.module;

import java.util.ArrayList;

public class moGroup {
    private String name="";
    private String ip="";
    private int port=0;
    private String command="";
    private String commandType="str";
    private ArrayList<moGroupEvent> items=new ArrayList<>();

    public String toString(){
        return "port:"+port+" 转发数:"+items.size();
    }


    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    public String getCommandType() {
        return commandType;
    }

    public void setCommandType(String commandType) {
        this.commandType = commandType;
    }

    public ArrayList<moGroupEvent> getItems() {
        return items;
    }

    public void setItems(ArrayList<moGroupEvent> items) {
        this.items = items;
    }
}
